package com.example.comment_oa.pojos_vo.LogisticsVo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.comment_oa.pojos.rear.Details;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Description:采购订单
 * @Author:陈旭良
 * @Documents_And_Settings:liang
 * @Date:2023-02-05 21:31
 * @Entry_Name:my_springcloud_project01cangku
 */
@TableName(value ="pos")
@Data
public class PosVo implements Serializable {
    /**
     * 采购订单id
     */
    @TableId(value = "pos_id", type = IdType.AUTO)
    private Integer posId;

    /**
     * 采购订单号
     */
    @TableField(value = "pos_no")
    private String posNo;

    /**
     * 采购订单申请时间
     */
    @TableField(value = "pos_apply_time")
    private Date posApplyTime;

    /**
     * 采购订单审批时间
     */
    @TableField(value = "pos_approval_time")
    private Date posApprovalTime;

    /**
     * 采购订单采购时间
     */
    @TableField(value = "pos_purchase_time")
    private Date posPurchaseTime;

    /**
     * 采购订单申请人
     */
    @TableField(value = "pos_apply_name")
    private String posApplyName;

    /**
     * 采购订单联系方式
     */
    @TableField(value = "pos_apply_contact")
    private String posApplyContact;

    /**
     * 采购订单应付金额
     */
    @TableField(value = "pos_payable")
    private Double posPayable;

    /**
     * 采购订单实付金额
     */
    @TableField(value = "pos_actually_paid")
    private Double posActuallyPaid;

    /**
     * 采购办理人
     */
    @TableField(value = "pos_name")
    private String posName;

    /**
     * 采购订单审批状态
     */
    @TableField(value = "pos_approval_state")
    private String posApprovalState;

    /**
     * 采购订单状态
     */
    @TableField(value = "pos_state")
    private String posState;

    /**
     * 采购订单状态
     */
    @TableField(value = "pos_Buy_Name")
    private String posBuyName;

    private String empCard;

    private List<Details> specifics;
}
